﻿package com.jxl.dnd.equipment
{
	public class Armor extends Item
	{
		
		public var armorBonus:Number;
		public var maximumDexBonus:Number;
		public var armorCheckPenalty:Number;
		public var arcaneSpellFailure:Number;
		public var speed_array:Array;
		
		public function Armor(name:String, cost:Number, weight:Number,
					  armorBonus:Number, maximumDexBonus:Number,
					  armorCheckPenatly:Number, arcaneSpellFailure:Number,
					  speed_array:Array):void
		{
			super.init(name, cost, weight);
			
			this.armorBonus 				= armorBonus;
			this.maximumDexBonus 			= maximumDexBonus;
			this.armorCheckPenalty 			= armorCheckPenalty;
			this.arcaneSpellFailure 		= arcaneSpellFailure;
			this.speed_array 				= speed_array;
		}
		
	}
}